package com.easy.bean;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

@Data
public class Equipment {
    //设备表
    private Integer id;
    private String name;
    private String model;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date purchase_date;
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date last_maintenance_date;
    private String location;
    private Integer department_id;
}